﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinformCommonDemo.CommControlOperate
{
    public class TxtOperateHelper
    {
        public static string ReadTxt(string path)
        {
            string[] lines = File.ReadAllLines(path);
            string resulyStr=string.Empty;
            foreach (string line in lines)
            {
                resulyStr += line;
            }
            return resulyStr;
        }
    }
}
